var AboutLayer = cc.Layer.extend({
	ctor:function () {
		this._super();

		this.addChild(new SwallowLayer(), 1, SWALLOW_LAYER_TAG);
		
		var menu = ccs.load(res.About_json).node;

		this.addChild(menu, 2);

		close = ccui.helper.seekWidgetByName(menu,"close");
		close.addClickEventListener(this.buttonClick.bind(this));

		return true;
	},
	buttonClick:function(sender){
		if(music)
			cc.audioEngine.playEffect(res.buttonClickEffect, false);
		this.removeFromParent();
		this.removeChildByTag(SWALLOW_LAYER_TAG, true);
	}
});